package com.example.demo.mapper;

import com.example.demo.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Home-pc
 * Date: 2024-01-24
 * Time: 20:00
 */
@Mapper
public interface UserInfoXMLMapper {

    List<UserInfo> selectAll();

    List<UserInfo> selectAll2();

    Integer insert(UserInfo userInfo);

    Integer insert2(@Param("USERINFO") UserInfo userInfo);

    Integer delete(Integer id);

    Integer update(UserInfo userInfo);
}
